package com.warehouse.dao;

import com.warehouse.dao.common.SmartDao;
import com.warehouse.entity.Admin;
import com.warehouse.entity.Cargo;

import java.util.List;

public interface CargoDao extends SmartDao<Cargo> {
    //模糊查询分页
    List<Cargo> byType(int startPage, int pageSize, Integer typeId);
    int countByType(Integer typeId);
}
